package com.ljs.shardingspheredemo;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(exclude={DruidDataSourceAutoConfigure.class})
//要将数据源的这个排除
@MapperScan("com.ljs.shardingspheredemo.mapper")
public class ShardingspheredemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShardingspheredemoApplication.class, args);
    }

}
